function toggleOrderItems(orderId) {
    console.log(orderId);
    const detailsDiv = document.getElementById(`order-items-${orderId}`);
    if (detailsDiv.style.display === "none") {
        detailsDiv.style.display = "block";
    } else {
        detailsDiv.style.display = "none";
    }
}